﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace UBlockly.Compotent
{
    public sealed class UText : Text
    {
        public BlockAnchor UAnchor => GetComponent<BlockAnchor>();
        public override string text { get => base.text; set => SetText(value); }

        void SetText(string text)
        {
            base.text = text;
        }
    }
}
